package com.ljf.eslab.lab.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

/**
 * 
 * 
 * @author ljf
 * @email ljf@gmail.com
 * @date 2021-05-28 09:12:59
 */
@Data
@TableName("el_reservation")
public class ReservationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 预约记录id
	 */
	@TableId
	private Integer id;
	/**
	 * 实验室id
	 */
	private Integer labId;
	/**
	 * 课程id
	 */
	private Integer courseId;
	/**
	 * 周次
	 */
	private Integer week;
	/**
	 * 周几
	 */
	private Integer dayOfWeek;
	/**
	 * 第几节课
	 */
	private Integer timeOfDay;
	/**
	 * 乐观锁
	 */
	@Version
	private Integer version;

}
